//
//  InformationVM.h
//  WanCaiC8
//
//  Created by tangang on 2018/4/21.
//  Copyright © 2018年 tangang. All rights reserved.
//

#import "BaseVM.h"
#import "NewsLottryTypeModel.h"
#import "Home_LotteryModel.h"
#import "NewsModel.h"
#import "GalleryModel.h"
#import "NewsContentModel.h"
#import "CommentVM.h"
#import "LotteryNavModel.h"
#import "LotteryRecordModel.h"
#import "AdvertisingModel.h"
#import "TimeModel.h"
#import "ExpertsModel.h"
#import "PlayRuleModel.h"
@interface InformationVM : BaseVM


typedef void (^SuccessBlock2) (id  returnValue2);


/**
 GET /api/Trend/GetTrendList

 */
- (void)getTrendListSuccess:(SuccessBlock)success Fail:(FailBlock)fail;


/**
 获取最新图库
 GET /api/News/GetTuNewsList
 */
- (void)getTuNewsListWithPageIndex:(NSInteger)pageIndex  PageSize:(NSInteger)pageSize Success:(SuccessBlock)success Fail:(FailBlock)fail;





/**
 获取新闻栏目信息
///api/News/GetNewsType
 */
- (void)getNewsTypeWithID:(NSString *)newsType Success:(SuccessBlock)success Fail:(FailBlock)fail;

/**
 获取大彩种列表 （资讯页面）（20181130    新增）

 
 GET /api/Common/GetParentLotteryList
 */
- (void)getParentLotteryListSuccess:(SuccessBlock)success Fail:(FailBlock)fail;

/**
 GET /api/News/GetLastNewsList
 获取最新资讯新闻列表
 */
- (void)getLastNewsListWithLtype:(NSString *)lType Page:(NSInteger)pageIndex  PageSize:(NSInteger)pageSize NotInLtype:(NSInteger)notInLtype Success:(SuccessBlock)success Fail:(FailBlock)fail;


/***************************/



/**
 * 获取首页通知
 **/
- (void)getSiteSettingSuccess:(SuccessBlock)success Fail:(FailBlock)fail;

/**
 * 获取新首页彩种信息列表
 **/
- (void)getNewIndexLotteryListSuccess:(SuccessBlock)success andFail:(FailBlock)fail;



/**
 * 获取新闻彩种分类列表
 **/
- (void)getNewsLotteryTypeListWithSuccess:(SuccessBlock)success andFail:(FailBlock)fail;


/**
 * 根据彩种分类Id获取新闻栏目列表
 * @param lType 彩种分类Id
 **/
- (void)getNewsTypeListWithId:(NSString *)lType Success:(SuccessBlock)success andFail:(FailBlock)fail;




//MARK:新增
/**
 *用于6彩频道首页
 * @param lType 彩种分类Id
 **/
- (void)getPlayInfoWithlType:(NSString *)lType Success:(SuccessBlock)success andFail:(FailBlock)fail;

/**
 * 获取彩种开奖信息
 * @param lType 彩种分类Id
 */
- (void)getLotteryInfoWithId:(NSString *)lType Success:(SuccessBlock)success andFail:(FailBlock)fail;

/**
 * 获取新闻列表
 * @param lType 彩种分类Id
 * @param pageIndex 页码
 */
- (void)getNewsListWithId:(NSString *)lType andPage:(NSInteger)pageIndex Success:(SuccessBlock)success andFail:(FailBlock)fail;

/**
 * 获取新闻列表 第一页前五条
 * @param lType 彩种分类Id
 */
- (void)getNewsListWithId:(NSString *)lType Success:(SuccessBlock)success andFail:(FailBlock)fail;

/**
 * 获取图库列表
 * @param lType 彩种分类Id
 * @param newsTypeId 新闻栏目id
 */
- (void)getGalleryListWithId:(NSString *)lType andNewsTypeId:(NSString *)newsTypeId Success:(SuccessBlock)success andFail:(FailBlock)fail;

/**
 * 获取文章详情
 * @param ID 文章详情ID
 */
- (void)getNewsDetailWithId:(NSString *)ID Success:(SuccessBlock)success andFail:(FailBlock)fail;

/**
 * 获取推荐阅读
 * @param newsTypeId 新闻栏目ID
 */
- (void)getRecommendNewsListWithId:(NSString *)newsTypeId Success:(SuccessBlock)success andFail:(FailBlock)fail;

/**
 * 获取六合彩导航列表
 */
- (void)getLotteryNavListWithSuccess:(SuccessBlock)success andFail:(FailBlock)fail;

/**
 * 根据彩种获取彩种记录
 * @param lType 彩种类型
 */
- (void)getRecordListWithId:(NSString *)lType andDate:(NSString *)date andPageIndex:(NSInteger)pageIndex Success:(SuccessBlock)success andFail:(FailBlock)fail;

/**
 * 根据开奖记录时间表
 * @param lType 彩种类型
 */
- (void)getRecordDateWithId:(NSString *)lType andSuccess:(SuccessBlock)success andFail:(FailBlock)fail;

/**
 * 获取图库详情
 * @param Id 图库ID
 */
- (void)getGrlleryDetailWithId:(NSString *)Id Success:(SuccessBlock)success andFail:(FailBlock)fail;

/**
 * 获取图库推荐
 * @param Id 图库ID
 */
- (void)getRecommendGrlleryWithId:(NSString *)Id Success:(SuccessBlock)success andFail:(FailBlock)fail;

/**
 * 获取广告
 * @param location 栏目ID
 * @param type 广告类型 1=栏目 2=文章 3=六彩
 */
- (void)getAdvertWithLocation:(NSString *)location andType:(NSInteger)type Success:(SuccessBlock)success andFail:(FailBlock)fail;

/**
 * 获取玩法规则
 * @param lType 彩种Id
 */
- (void)getRuleListWithLType:(NSString *)lType andParentId:(NSInteger)ParentId Success:(SuccessBlock)success andFail:(FailBlock)fail;
/**
 * 获取玩法具体规则
 * @param lType 彩种Id
 */
- (void)getSubRuleListWithLType:(NSString *)lType andParentId:(NSInteger)ParentId Success:(SuccessBlock)success andFail:(FailBlock)fail;

/**
 * 获取高手列表
 * @param lType 彩种Id
 */
- (void)getMasterListWithLType:(NSString *)lType andPlayName:(NSString *)playName andPage:(NSInteger)page  Success:(SuccessBlock)success andFail:(FailBlock)fail;

/**
 * 获取推荐高手
 * @param lType 彩种Id
 */
- (void)getRecommendMasterListWithLType:(NSString *)lType Success:(SuccessBlock)success andFail:(FailBlock)fail;

@property (nonatomic ,strong) NSMutableArray *lotteryTypeArr;

@property (nonatomic ,strong) NSMutableArray *homeDataArr;


+(InformationVM *)manage;
@end
